<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<table width="100%" border="0" align="center" cellspacing="1" class="c">
	<tr>
		<td class="title1">用户账号</td>
		<td class="title1">用户姓名</td>	
		<td class="title1">添加日期</td>
		<td class="title1">锁定状态</td>
		<td class="title1">权限</td>
		<td class="title1">操作</td>
	</tr>
	<c:forEach items="${page.dataList }" var="user">
		<tr>
			<td align="center">${user.account }</td>
			<td align="center">${user.name }</td>
			<td align="center">${user.createDate }</td>
			<td align="center">
				<c:if test="${user.status ==0 }">不锁定</c:if>
				<c:if test="${user.status ==1 }">锁定</c:if>
			</td>
			<td align="center"><input type="button" value="查看权限" onclick="showModels('${user.account }')" /></td>
			<td align="center">
				<a href="javascript:upd('${user.account }')">修改</a> 
				<a href="javascript:del('${user.account }')">删除</a>
			</td>
		</tr>
	</c:forEach>
</table>
<%--导入分页层 --%>
<%@include file="../../public/page.jsp"%>
